package com.lzy.mall.product.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lzy
 * @date 2021/10/15 14:43
 */
@FeignClient("mall-seckill")
public interface SeckillFeignService {

    @GetMapping("/sku/seckill/{skuId}")
    ResultUtils getSkuSeckillInfo(@PathVariable("skuId") Long skuId);
}
